package com.dawn.module.hospital.controller.admin.refund.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

import static com.dawn.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @description:
 * @author: cnsu-cmh
 * @time: 2024/10/16 12:12
 */
@Schema(description = "管理后台 - 异常退费查询 Request VO")
@Data
public class SearchReqVO {

    @Schema(description = "订单时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] searchTime;

    @Schema(description = "订单类型")
    @NotBlank(message = "订单类型不能为空")
    private String orderType;

    @Schema(description = "患者姓名")
    private String patientName;

    @Schema(description = "病人ID")
    private String patientId;

    @Schema(description = "门诊号/住院号")
    private String clinicNo;

    @Schema(description = "订单号")
    private String orderNo;

}
